FPL: fast Presburger arithmetic through transprecision
نویسندگان
چکیده
Presburger arithmetic provides the mathematical core for polyhedral compilation techniques that drive analytical cache models, loop optimization ML and HPC, formal verification, even hardware design. Polyhedral is widely regarded as being slow due to potentially high computational cost of underlying libraries. Researchers typically use these libraries powerful black-box tools, but perceived internal complexity libraries, caused by C implementation language a focus on end-user-facing documentation, holds back broader performance-optimization efforts. With FPL, we introduce new library built from ground up in modern C++. We carefully document its algorithmic foundations, lightweight C++ data structures minimize memory management costs, deploy transprecision computing across entire effectively exploit machine integers vector instructions. On newly-developed comprehensive benchmark suite arithmetic, show 5.4x speedup total runtime over state-of-the-art isl default configuration 3.6x variant optimized with element-wise computing. expect availability well-documented fast will accelerate adoption production compilers.
منابع مشابه
Weakening Presburger Arithmetic
We consider logics on Z and N which are weaker than Presburger Arithmetic and we settle the following decision problem: given a k-ary relation on Z and N which is first order definable in Presburger Arithmetic, is it definable in these weaker logics? These logics, intuitively, are obtained in two different ways. First by introducing modulo and threshold counting predicates on the difference of ...
متن کاملInterpolating Quantifier-Free Presburger Arithmetic
Craig interpolation has become a key ingredient in many symbolic model checkers, serving as an approximative replacement for expensive quantifier elimination. In this paper, we focus on an interpolating decision procedure for the full quantifier-free fragment of Presburger Arithmetic, i.e., linear arithmetic over the integers, a theory which is a good fit for the analysis of software systems. I...
متن کاملDefinable Types in Presburger Arithmetic
We consider the first order theory of (Z,+, <), also known as Presburger arithmetic. We prove a characterization of definable types in terms of prime models over realizations, which has a similar flavor to the Marker-Steinhorn Theorem of o-minimality. We also prove that a type over a model is definable if and only if it has a unique coheir to any elementary extension, which is a characterizatio...
متن کاملRigid models of Presburger arithmetic
We present a description of rigid models of Presburger arithmetic (i.e., Z-groups). In particular, we show that Presburger arithmetic has rigid models of all infinite cardinalities up to the continuum, but no larger.
متن کاملReflecting Linear Arithmetic: From Dense Linear Orders to Presburger Arithmetic
This talk presents reflected quantifier elimination procedures for both integer and real linear arithmetic. Reflection means that the algorithms are expressed as recursive functions on recursive data types inside some logic (in our case HOL), are verified in that logic, and can then be applied to the logic itself. After a brief overview of reflection we will discuss a number of quantifier elimi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2021
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3485539